<?php /* Smarty version Smarty-3.0-RC2, created on 2013-11-17 07:07:27
         compiled from "D:/www/htdocs/web/application/views/admin/pages/section_form.tpl" */ ?>
<?php /*%%SmartyHeaderCode:3064352885d1fc5a830-81276499%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'b8f617fd0684648baeb8dcbc6eef324605eeee7b' => 
    array (
      0 => 'D:/www/htdocs/web/application/views/admin/pages/section_form.tpl',
      1 => 1293412016,
    ),
  ),
  'nocache_hash' => '3064352885d1fc5a830-81276499',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php $_template = new Smarty_Internal_Template("admin/site_header.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
<?php $_template = new Smarty_Internal_Template("admin/dashboard/navi.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>
<?php $_smarty_tpl->assign('i',$_smarty_tpl->getVariable('data')->value['row'],null,null);?>

<div id="container">
	<div class="inner-container">

		<div class="box box-100 greenbox">
			<div class="boxin">
				<div class="header">
					<h3>ID : <?php echo $_smarty_tpl->getVariable('i')->value['sectionID'];?>
 - <?php echo $_smarty_tpl->getVariable('i')->value['title'];?>
</h3>
				</div>
				<div class="content" >
					<div class="quick-link">

		<!-- form -->			
		<style>
			label { display:inline-block;width:140px;padding:5px 0 5px 20px; }
		</style>			

		<form id="form_berita" class="form columns" action="<?php echo $_smarty_tpl->getVariable('site')->value['site'];?>
adminajax/sectionUpdate/" method="POST" enctype="multipart/form-data">

			<input type="hidden" id="sectionID" 	name="sectionID"  	 value="<?php echo $_smarty_tpl->getVariable('i')->value['sectionID'];?>
"/>
			<input type="hidden" id="order" name="order" value="<?php echo $_smarty_tpl->getVariable('data')->value['order'];?>
"/>
			<input type="hidden" id="sort" 	name="sort"  value="<?php echo $_smarty_tpl->getVariable('data')->value['sort'];?>
"/>
			<input type="hidden" id="page" 	name="page"  value="<?php echo $_smarty_tpl->getVariable('data')->value['page'];?>
"/>
			<input type="hidden" id="limit" name="limit" value="<?php echo $_smarty_tpl->getVariable('data')->value['limit'];?>
"/>
			
			<label>&nbsp;<b><span id="alert"><?php echo $_smarty_tpl->getVariable('data')->value['msg'];?>
</span></b></label><br />
			<label>Section: </label>
				<input type="text" class="inputtext mandatory" id="title" name="title" value='<?php echo $_smarty_tpl->getVariable('i')->value['title'];?>
' style="width:550px;"/> <br />

			<label>Terbitkan: </label>
			
				<input type="radio" id="state" name="state" value="0" <?php echo $_smarty_tpl->getVariable('i')->value['isUnPublish'];?>
 /> Tidak
				<input type="radio" id="state" name="state" value="1" <?php echo $_smarty_tpl->getVariable('i')->value['isPublish'];?>
 /> Ya <br />
			

			<label style="margin-left:165px; padding:0; width:80px;">
			<button id="btnsave" value="save" class="button altbutton" type="submit"/>Submit</button>
			</label>

			<label style="margin-left:5px; padding:0; width:80px;">
			<button id="back" value="back" class="button altbutton" type="button"/>Back</button>
			</label>
		</form>
		<!-- end form -->
	
			</div><!-- .quick-link -->
		</div><!-- .content -->
	</div>
</div>

<script type="text/javascript">
$(document).ready(function(){
	$('#back').click( function (e) {
		top.location.href = "<?php echo $_smarty_tpl->getVariable('data')->value['back'];?>
";
	});
	
});
</script>

<?php $_template = new Smarty_Internal_Template("admin/site_footer.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php $_template->updateParentVariables(0);?><?php unset($_template);?>